libURLFollowHttpRedirects
Type
command
Summary
Set this to true if you want libURL GET requests to follow HTTP redirects and GET the page that it is redirected to.
Syntax
libURLFollowHttpRedirects {true|false}
Description
(This is different from previous behavior whereby libURL always attempted to GET 301 and 302 redirects whatever the original request method, but didn't handle other responses.)
Cross-platform note
The Web engine will always follow redirects.
Examples
libURLFollowHttpRedirects (the cFollowRedirects of me)
Related
command: libURLDownloadToFile
function: libURLLastHTTPHeaders
Compatibility and Support
Introduced
LiveCode 1.1.1
OS
mac
windows
linux
web
Platforms
desktop
server